package com.jy.rhin.model.body.chuanranbbg;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

@Data
public class ZhenDuanJL {
    //发病类别代码
    @XPath(path = "/entry/observation/code[@code='DE05.10.015.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_10_015_00))
    CodeObject faBingLB;
    //传染病病例诊断状态代码
    @XPath(path = "/entry/observation/code[@code='DE05.01.060.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_01_060_00))
    CodeObject zhenDuanZT;
    //诊断日期
    @XPath(path = "/entry/observation/code[@code='DE02.01.035.00']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_035_00))
    String zhenDuanRQ;
    //传染病类别代码
    @XPath(path = "/entry/observation/code[@code='DE05.01.016.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_01_016_00))
    CodeObject chuanRanBLB;
    //传染病名称代码
    @XPath(path = "/entry/observation/code[@code='DE05.01.012.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_01_012_00))
    CodeObject chuanRanBMC;
    //其他法定管理及重点监测传染病名称
    @XPath(path = "/entry/observation/code[@code='DE09.00.041.00']/../value/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE09_00_041_00, nullable = true))
    String qiTaCRBMC;
    //订正病名
    @XPath(path = "/entry/observation/code[@code='DE05.01.013.00']/../value/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_01_013_00))
    String dingZhengBM;
}
